package com.xuecheng.content.mapper;

import com.xuecheng.commons.model.vo.TeachplanVo;
import com.xuecheng.content.domain.Teachplan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 课程计划 Mapper 接口
 * </p>
 *
 * @author HuangYuwu
 * @since 2022-09-11
 */
@Mapper
public interface TeachplanMapper extends BaseMapper<Teachplan> {

    /**
     * 查询课程计划列表-树形结构
     * @param courseId
     * @return
     */
    List<TeachplanVo> treeNodes(Long courseId);
}
